package com.cykj.pos.service;

import com.cykj.common.core.domain.AjaxResult;
import com.cykj.pos.domain.AizProfitSharingRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cykj.pos.domain.BizMerchantTranStatistics;
import com.cykj.pos.domain.BizMerchantTranStatisticsMerchantExport;
import com.cykj.pos.domain.BizMerchantTranStatisticsWithdrawalExport;
import com.cykj.pos.domain.dto.TransactionDetailsDTO;

import java.util.List;

/**
 * 分润记录Service接口
 *
 * @author weijianbo
 * @date 2025-01-22
 */
public interface IAizProfitSharingRecordService extends IService<AizProfitSharingRecord> {

    /**
     * 查询列表
     */
    List<AizProfitSharingRecord> queryList(AizProfitSharingRecord aizProfitSharingRecord);

    /**
     * 查询今日分润自身
     * @param detailsDTO
     * @return
     */
    Double selectShare(TransactionDetailsDTO detailsDTO);

    List<BizMerchantTranStatistics> queryTransRecord(BizMerchantTranStatistics bizMerchantTranStatistics);

    List<BizMerchantTranStatisticsMerchantExport> queryMerchRecord(BizMerchantTranStatisticsMerchantExport bizMerchantTranStatisticsMerchantExport);

    List<BizMerchantTranStatisticsWithdrawalExport> withdrawalRecord(BizMerchantTranStatisticsWithdrawalExport bizMerchantTranStatisticsWithdrawalExport);

    AjaxResult revenueStatistics(BizMerchantTranStatistics bizMerchantTranStatistics);
}
